import request from '@/utils/request'

export function getAchievementsList(query) {
  return request({
    url: '/website/scienceResultLibrary/list',
    method: 'get',
    params: query
  })
}


// 相关推荐
export function getAchievementsReList() {
  const query = {
    pageSize: 5,
    pageNum: 1,
    isRecommend: 1
  }
  return request({
    url: '/admin/scienceResultLibrary/api/list',
    method: 'get',
    params: query
  })
}


export function getAchievementsDetail(query) {
  return request({
    url: '/website/scienceResultLibrary/getScienceResultLibrary/',
    method: 'get',
    params: query
  })
}
